import { WapHomeO, VideoO, TodoListO, ChatO,Contact } from '@react-vant/icons';

//设置icon
export let set_Icon = (str) =>{
    switch (str) {
        case "WapHomeO":
            return <WapHomeO/>
        case "VideoO":
            return <VideoO/>
        case "TodoListO":
            return <TodoListO/>
        case "ChatO":
            return <ChatO/>
        case "Contact":
            return <Contact/>
        default:
            return <WapHomeO/>
    }
}